package org.jeecg.qis.vo;

import java.util.List;
import org.jeecg.qis.entity.QisSpcheadCfg;
import org.jeecg.qis.entity.QisSpcdetailCfg;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 质控点配置
 * @Author: LiCY
 * @Date:   2023-06-28
 * @Version: V1.0
 */
@Data
@ApiModel(value="qis_spchead_cfgPage对象", description="质控点配置")
public class QisSpcheadCfgPage {

	/**主键*/
	@Excel(name = "主键", width = 15)
	@ApiModelProperty(value = "主键")
    private Integer recId;
	/**保存方式*/
	@Excel(name = "保存方式", width = 15, dicCode = "spcHeadCfg_saveTyp")
    @Dict(dicCode = "spcHeadCfg_saveTyp")
	@ApiModelProperty(value = "保存方式")
    private String saveTyp;
	/**检验参数*/
	@Excel(name = "检验参数", width = 15)
	@ApiModelProperty(value = "检验参数")
    private Integer cfgid;
	/**检验项目*/
	@Excel(name = "检验项目", width = 15)
	@ApiModelProperty(value = "检验项目")
    private String name;
	/**检验描述*/
	@Excel(name = "检验描述", width = 15)
	@ApiModelProperty(value = "检验描述")
    private String description;
	/**规格上限*/
	@Excel(name = "规格上限", width = 15)
	@ApiModelProperty(value = "规格上限")
    private Double usl;
	/**规格中心*/
	@Excel(name = "规格中心", width = 15)
	@ApiModelProperty(value = "规格中心")
    private Double sl;
	/**规格下限*/
	@Excel(name = "规格下限", width = 15)
	@ApiModelProperty(value = "规格下限")
    private Double lsl;
	/**阶段*/
	@Excel(name = "阶段", width = 15, dicCode = "spcHeadCfg_stage")
    @Dict(dicCode = "spcHeadCfg_stage")
	@ApiModelProperty(value = "阶段")
    private String stage;
	/**Xbar控制上限*/
	@Excel(name = "Xbar控制上限", width = 15)
	@ApiModelProperty(value = "Xbar控制上限")
    private Double uclx;
	/**Xbar控制下限*/
	@Excel(name = "Xbar控制下限", width = 15)
	@ApiModelProperty(value = "Xbar控制下限")
    private Double lclx;
	/**R控制上限*/
	@Excel(name = "R控制上限", width = 15)
	@ApiModelProperty(value = "R控制上限")
    private Double uclr;
	/**R控制下限*/
	@Excel(name = "R控制下限", width = 15)
	@ApiModelProperty(value = "R控制下限")
    private Double lclr;
	/**子组数量*/
	@Excel(name = "子组数量", width = 15)
	@ApiModelProperty(value = "子组数量")
    private Integer spcTyp;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "isEnabled")
    @Dict(dicCode = "isEnabled")
	@ApiModelProperty(value = "状态")
    private String status;
	/**计算CPK*/
	@Excel(name = "计算CPK", width = 15, dicCode = "isEnabled")
    @Dict(dicCode = "isEnabled")
	@ApiModelProperty(value = "计算CPK")
    private String cpk;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新时间")
    private Date ctime;

	@ExcelCollection(name="判异规则")
	@ApiModelProperty(value = "判异规则")
	private List<QisSpcdetailCfg> qisSpcdetailCfgList;

}
